<? if (count($this->brands)): ?>
<table class="table table-striped table-condensed table-hover" style="width:100%">
  <thead>
      <tr>
          <th>ID</th>
          <th>Brand</th>
      </tr>
  </thead>   
  <tbody>
    <? foreach ($this->brands as $brand): ?> 
    <tr>
      <td><?= $brand->id ?></td>
      <td><?= $brand->name ?></td>
    </tr>
    <? endforeach; ?> 
  </tbody>
</table>
<? endif; ?>

<form method="post">
  <p>
    <span class="label label-info">Hint!</span>
	Car data is storred in MySql database for faster retrieval. To update the data click the update button.
  </p>
  <input type="submit" class="btn" value="Update" name="update">
</form>
